package com.eascs.admin.o2o.loanAccount.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.eascs.admin.common.dao.BaseO2oDao;
import com.eascs.admin.o2o.loanAccount.entity.O2oLoanapplyAccountEntity;
import com.eascs.app.dao.PageResult;
import com.eascs.app.dao.SqlPageQuery;

@Repository
public class O2oLoanapplyAccountDao extends BaseO2oDao {
	

	public List<O2oLoanapplyAccountEntity> findNotOpen(String Status){

		StringBuffer querySql = new StringBuffer();
		querySql.append(" select * from o2o_loanapply_account where  status = ? "); 
		return this.findEntitys(querySql.toString(), O2oLoanapplyAccountEntity.class, Status);
	}
	
	
	public PageResult<O2oLoanapplyAccountEntity> findDataWithPageForMysql(SqlPageQuery<O2oLoanapplyAccountEntity> sqlPageQuery ) {
		
		return this.findDataWithPage(sqlPageQuery);
	}
	
	
	
}
